package com.pig.service;

import com.github.pagehelper.PageInfo;
import com.pig.entity.AccountLogEntity;
import com.pig.pojo.AccountLogPojo;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 日志
 */
@Repository
public interface AccountLogService {

    /**
     * 添加用户日志
     * @return
     */
    public Integer insertAccountLog(AccountLogEntity accountLogEntity);

    /**
     * 查询用户日志
     * @return
     * page 页数
     * limit 条数
     */
    public List<AccountLogPojo> queryAccountLog(Integer accountId);

}
